package com.hyper_yang._03_designpatterns.principles.demo5.next;

/**
 * projectName: com.hyper_yang._03_designpatterns.principles.demo5.next
 *
 * @author: sakiko
 * time: 2025/9/26 22:16
 * description: 安全门实现
 */
public class SafetyDoor implements AntiTheft,FireProof,WaterProof{
    @Override
    public void antiTheft() {
        System.out.println("SafetyDoor.antiTheft");
    }

    @Override
    public void fireProof() {
        System.out.println("SafetyDoor.fireProof");
    }

    @Override
    public void waterProof() {
        System.out.println("SafetyDoor.waterProof");
    }
}
